import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import 'amfe-flexible'
import '@/styles/iconfont.css'
import '@/styles/index.less'
import { Button, Card, Cell, CellGroup, Empty, Field, Form, Grid, GridItem, Icon, Image, IndexAnchor, IndexBar, NavBar, Picker, Popup, Search, Swipe, SwipeCell, SwipeItem, Tabbar, TabbarItem, Uploader } from 'vant'

Vue.use(Button)
Vue.use(NavBar)
Vue.use(Tabbar)
Vue.use(TabbarItem)
Vue.use(Form)
Vue.use(Field)
Vue.use(Search)
Vue.use(Icon)
Vue.use(Swipe)
Vue.use(SwipeItem)
Vue.use(Grid)
Vue.use(GridItem)
Vue.use(Cell)
Vue.use(Image)
Vue.use(IndexBar)
Vue.use(IndexAnchor)
Vue.use(Card)
Vue.use(SwipeCell)
Vue.use(CellGroup)
Vue.use(Empty)
Vue.use(Uploader)
Vue.use(Popup)
Vue.use(Picker)

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
